<?php
error_reporting(E_ALL);
ini_set('display_errors', 'On');
include_once "../datos/ContactoSQL.php";

class Contacto {    
    private $cont_id;
    private $esc_id;
    private $cont_correo;
    private $cont_telefono;
    private $cont_pagina_web;
    private $cont_facebook;
    private $cont_skype;
    private $cont_messenger;
    private $cont_twitter;
    private $cont_tumblr;
    private $sql;

    function __construct() {
        $this->sql = new ContactoSQL();
    }
    
    public function agregarContacto() {
    $this->sql->agregarContacto($this);
    }
    
    public function getCont_id() {
        return $this->cont_id;
    }

    public function setCont_id($cont_id) {
        $this->cont_id = $cont_id;
    }

    public function getEsc_id() {
        return $this->esc_id;
    }

    public function setEsc_id($esc_id) {
        $this->esc_id = $esc_id;
    }

    public function getCont_correo() {
        return $this->cont_correo;
    }

    public function setCont_correo($cont_correo) {
        $this->cont_correo = $cont_correo;
    }

    public function getCont_telefono() {
        return $this->cont_telefono;
    }

    public function setCont_telefono($cont_telefono) {
        $this->cont_telefono = $cont_telefono;
    }

    public function getCont_pagina_web() {
        return $this->cont_pagina_web;
    }

    public function setCont_pagina_web($cont_pagina_web) {
        $this->cont_pagina_web = $cont_pagina_web;
    }

    public function getCont_facebook() {
        return $this->cont_facebook;
    }

    public function setCont_facebook($cont_facebook) {
        $this->cont_facebook = $cont_facebook;
    }

    public function getCont_skype() {
        return $this->cont_skype;
    }

    public function setCont_skype($cont_skype) {
        $this->cont_skype = $cont_skype;
    }

    public function getCont_messenger() {
        return $this->cont_messenger;
    }

    public function setCont_messenger($cont_messenger) {
        $this->cont_messenger = $cont_messenger;
    }

    public function getCont_twitter() {
        return $this->cont_twitter;
    }

    public function setCont_twitter($cont_twitter) {
        $this->cont_twitter = $cont_twitter;
    }

    public function getCont_tumblr() {
        return $this->cont_tumblr;
    }

    public function setCont_tumblr($cont_tumblr) {
        $this->cont_tumblr = $cont_tumblr;
    }



    
}

?>
